package com.glodon.paas.account.service;

import java.util.List;

import com.glodon.paas.account.dao.domain.UserAdviceEntity;
import com.glodon.paas.account.dao.domain.UserAdviceReplyEntity;

public interface UserAdviceService {
    UserAdviceEntity createAdvice(UserAdviceEntity record);
    
    UserAdviceEntity getAdviceById(String id); 
	
    List<UserAdviceEntity> queryAdvice(String userId,Integer status, Integer type, Integer deleteStatus, Integer startIndex, Integer count);
	
    /**
     * 创建回复
     * @param entity
     */
	void createReply(UserAdviceReplyEntity entity);
	
	List<UserAdviceReplyEntity> queryReply(String adviceId, Integer startIndex,
			Integer count);
}
